package com.kaifamiao.inherit;

public class Animal {

    private String type;

    public Animal(String type){
        super();
        System.out.println( "Animal(String)" );
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
